<?php header("Content-type: image/svg+xml");

print("<svg  xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='400' height='400'>\n"); 
print("<rect width='400' height='400' fill='beige'/>\n");
print("<g font-family='".$_GET["font"]."'>\n");
print("<text x='10' y='20' font-size='15'>Font is ".$_GET["font"]."</text>\n"); 
print("<text x='10' y='40' font-size='15'>Example of text normal</text>\n"); 
print("<text x='10' y='60' font-size='15' font-style='italic'>Example of text italic</text>\n"); 
print("<text x='10' y='80' font-size='15' font-weight='bold'>Example of text bold</text>\n"); 
print("<text x='10' y='100' font-size='15' font-weight='bold' font-style='italic'>Example of text bold and italic</text>\n"); 
print("<text x='10' y='120' font-size='10'>Some sizes, this is 10</text>\n"); 
print("<text x='10' y='140' font-size='15'>Some sizes, this is 15</text>\n"); 
print("<text x='10' y='170' font-size='20'>Some sizes, this is 20</text>\n"); 
print("<text x='10' y='190' font-size='15'>Alphabet</text>\n"); 
print("<text x='10' y='210' font-size='15'>a b c d e f g h i j k l m</text>\n"); 
print("<text x='10' y='230' font-size='15'>n o p q r s t u v w x y z</text>\n"); 
print("<text x='10' y='250' font-size='15'>A B C D E F G H I J K L M</text>\n"); 
print("<text x='10' y='270' font-size='15'>N O P Q R S T U V W X Y Z</text>\n"); 
print("<text x='10' y='290' font-size='15'>Numbers 0 1 2 3 4 5 6 7 8 9</text>\n"); 
print("<text x='10' y='310' font-size='15'>Some symbols</text>\n"); 
print("<text x='10' y='330' font-size='15'>$ % &amp; @</text>\n"); 
print("</g>\n");
print("</svg>");
?>
